#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <sstream>
#include <fstream>
#include <functional>
#include <unordered_map>
#include "Log.hpp"

class HttpServer
{
public:
    HttpServer()
    {}

    std::string HandlerHttpRequest(std::string req)
    {
        std::cout<<"-----------------------------------"<<std::endl;
        std::cout<<req;

        std::string response="HTTP/1.0 200 OK\r\n";
        response+="\r\n";
        response+="<html><body><h1>hello world!</h1></body></html>";

        return response;
    }

    ~HttpServer()
    {}
private:

};